package com.yukino.pojo.requestBody;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Validated
public class AddProject {
    /**
     * 项目名称
     */
    @NotNull
    private String project_name;

    /**
     * 部门 ID
     */
    @NotNull
    private Long dept_id;

    /**
     * 负责人
     */
    @NotNull
    private String leader;

    /**
     * 级别
     */
    @NotNull
    private String level;

    /**
     * 经费
     */
    @NotNull
    private Integer funds;

    /**
     * 项目简介
     */
    @NotNull
    private String profiles;
}
